#include <iostream>
#include <unistd.h>

using namespace std;

int main(int argc, char* argv[], char* env[])
{
    int i = 0;
    while(argv[i])
    {
        cout << "argv[] of " << i << "is: " << argv[i] << endl;
        i++;
    }

    int j = 0;
    while(env[j])
    {
        cout << "env[] of " << j << "is: " << env[j] << endl;
        j++;
    }

    return 0;
}


